#include "User.h"
#include <ctime>
#include "Date.h"

#include "UserLogin.h"
#include "AdministorUI.h"
#include "LibrarianUI.h"
#include "StudentUI.h"
#include "TeacherUI.h"

#include<iostream>
using namespace std;
#include<fstream>

#include <string>
#include "SeqList.h"
#include "Librarian.h"
#include "Student.h"
#include "Teacher.h"
#include "BorrowRecord.h"
#include "Book.h"


int main()
{


	    UserLogin ulogin;



    while(true)
	{

		ulogin.handlUserLogin();
		string userType=ulogin.GetUserType();
		string num=ulogin.GetUserNum();

		if (userType=="student")   StudentUI stuUI(num);

		if (userType=="teacher")   TeacherUI teaUI(num);

		if (userType=="librarian")	LibrarianUI libUI(num);

		if (userType=="administor")	AdministorUI adminUI;
	}


	return 0;
}
